package com.example.gateway;

import cn.hutool.json.JSONUtil;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class TestController {

    @RequestMapping("/test1")
	public String list(@RequestBody Map map) {
		return JSONUtil.toJsonStr(map);
	}
}
